FROM python:3.7

WORKDIR /home/diy_python_web_framework

COPY . .

RUN pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  -r requirement.txt

EXPOSE 8080

CMD ["python", "web_server.py", "8080"]
